﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2015/1/16 15:42:04
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.LocalJson
{
    public enum LocalBookcaseStatus
    {
        All,
        Add,
        Update,
        Delete
    }

    [DataContract]
    public class LocalBookcaseInfo
    {
        private bool _isAd = false;

        /// <summary>
        /// 是否为广告
        /// </summary>
        [DataMember]
        public bool IsAd
        {
            get { return _isAd; }
            set { _isAd  = value; }
        }

        /// <summary>
        /// 断网情况对收藏夹的处理要标识是否同步
        /// </summary>
        [DataMember]
        public bool IsSync { get; set; }

        [DataMember]
        public string Status { get; set; }

        [DataMember]
        public string LocalUpdateDate { get; set; }

        [DataMember]
        public string SyncUpdateDate { get; set; }

        [DataMember]
        public int ComicId { get; set; }

        [DataMember]
        public string ComicTitle { get; set; }

        [DataMember]
        public bool UpdateChapterFlag { get; set; }

        [DataMember]
        public string Coverurl { get; set; }

        [DataMember]
        public int BookId { get; set; }

        [DataMember]
        public string SourceName { get; set; }

        [DataMember]
        public int PartId { get; set; }

        [DataMember]
        public string PartName { get; set; }
    }
}
